;******************************************************************************
;* TMS320C6x C/C++ Codegen                                    PC Version 4.36 *
;* Date/Time created: Tue Jun 22 14:07:22 2004                                *
;******************************************************************************

;******************************************************************************
;* GLOBAL FILE PARAMETERS                                                     *
;*                                                                            *
;*   Architecture      : TMS320C64xx                                          *
;*   Optimization      : Enabled at level 2                                   *
;*   Optimizing for    : Speed                                                *
;*                       Based on options: -o2, no -ms                        *
;*   Endian            : Little                                               *
;*   Interrupt Thrshld : 100                                                  *
;*   Memory Model      : Large                                                *
;*   Calls to RTS      : Far                                                  *
;*   Pipelining        : Enabled                                              *
;*   Speculative Load  : Enabled                                              *
;*   Memory Aliases    : Presume not aliases (optimistic)                     *
;*   Debug Info        : No Debug Info                                        *
;*                                                                            *
;******************************************************************************

	.asg	A15, FP
	.asg	B14, DP
	.asg	B15, SP
	.global	$bss


	.sect	".const"
	.align 8
_$T0$1:
	.field  	9539,16			; _$T0$1[0] @ 0
	.field  	13075,16			; _$T0$1[1] @ 16
	.field  	62326,16			; _$T0$1[2] @ 32
	.field  	58876,16			; _$T0$1[3] @ 48
	.field  	16525,16			; _$T0$1[4] @ 64

	.sect	".text"
;	c:\ti_6000\c6000\cgtools\bin\opt6x.exe -t -DI100 -v6400 -q -O2 C:\DOCUME~1\A03238~1.USA\LOCALS~1\Temp\TI1784_2 C:\DOCUME~1\A03238~1.USA\LOCALS~1\Temp\TI1784_5 -w . 

	.sect	".opt_gp"
	.global	_scale_2d_ycrcb

;******************************************************************************
;* FUNCTION NAME: _scale_2d_ycrcb                                             *
;*                                                                            *
;*   Regs Modified     : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,B0,*
;*                           B1,B2,B3,B4,B5,B6,B7,B8,B9,B10,B11,B12,B13,SP,FP,*
;*                           A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,A26,A27, *
;*                           A28,A29,A30,A31,B16,B17,B18,B19,B20,B21,B22,B23, *
;*                           B24,B25,B26,B27,B28,B29,B30,B31                  *
;*   Regs Used         : A0,A1,A2,A3,A4,A5,A6,A7,A8,A9,A10,A11,A12,A13,A14,B0,*
;*                           B1,B2,B3,B4,B5,B6,B7,B8,B9,B10,B11,B12,B13,SP,FP,*
;*                           A16,A17,A18,A19,A20,A21,A22,A23,A24,A25,A26,A27, *
;*                           A28,A29,A30,A31,B16,B17,B18,B19,B20,B21,B22,B23, *
;*                           B24,B25,B26,B27,B28,B29,B30,B31                  *
;*   Local Frame Size  : 0 Args + 360 Auto + 44 Save = 404 byte               *
;******************************************************************************
_scale_2d_ycrcb:
;** --------------------------------------------------------------------------*

           MV      .D1X    SP,FP             ; |69| 
||         STW     .D2T1   FP,*SP--(8)       ; |69| 

           ADDK    .S2     -400,SP
           LDW     .D1T2   *+FP(28),B5       ; |69| 
           LDW     .D1T1   *+FP(36),A5       ; |69| 
           LDW     .D1T2   *+FP(48),B16      ; |69| 
           MV      .D2X    A6,B9             ; |69| 
           MV      .D1X    B4,A3             ; |69| 
           STW     .D2T2   B5,*+SP(20)       ; |69| 
           LDW     .D1T2   *+FP(20),B5       ; |69| 
           STW     .D2T2   B12,*+SP(400)
           STW     .D2T2   B13,*+SP(404)
           STW     .D1T1   A14,*-FP(24)
           STDW    .D1T1   A13:A12,*-FP(32)
           STW     .D2T2   B5,*+SP(24)       ; |69| 
           STW     .D2T1   A5,*+SP(28)       ; |69| 
           LDW     .D1T1   *+FP(40),A5       ; |69| 
           STDW    .D1T1   A11:A10,*-FP(40)
           MVKL    .S2     _$T0$1,B7         ; |151| 
           LDW     .D1T1   *+FP(24),A7       ; |69| 
           MVKH    .S2     _$T0$1,B7         ; |151| 
           STW     .D2T1   A5,*+SP(32)       ; |69| 
           LDW     .D1T1   *+FP(44),A5       ; |69| 
           MVKL    .S2     __divi,B19        ; |181| 
           MVKH    .S2     __divi,B19        ; |181| 
           ADD     .D2     B4,B4,B21         ; |181| 
           MV      .L2X    A6,B4             ; |69| 
           STW     .D2T1   A5,*+SP(36)       ; |69| 
           LDW     .D2T2   *+SP(20),B5       ; |69| 

           STW     .D2T2   B16,*+SP(40)      ; |69| 
||         LDW     .D1T1   *+FP(32),A5       ; |69| 

           LDW     .D2T2   *+SP(20),B16      ; |69| 
           NOP             1
           ADD     .S1     A6,A6,A17         ; |191| 
           ZERO    .D1     A6                ; |184| 

           MPYLH   .M2     B9,B5,B5          ; |179| 
||         STW     .D2T1   A5,*+SP(44)       ; |191| 

           LDW     .D2T2   *+SP(24),B9       ; |69| 
||         MPYLH   .M2     B16,B9,B17        ; |179| 
||         MV      .D1X    B9,A5             ; |69| 

           NOP             1
           MVKL    .S2     __divi,B16        ; |191| 
           MVKH    .S2     __divi,B16        ; |191| 
           ADD     .D2     B17,B5,B18        ; |179| 

           LDW     .D1T2   *+FP(12),B9       ; |69| 
||         MPYLH   .M2X    B9,A3,B18         ; |179| 
||         SHL     .S2     B18,16,B20        ; |179| 
||         MPYLH   .M1X    A3,B9,A9          ; |179| 

           NOP             2
           LDW     .D1T2   *+FP(16),B17      ; |69| 
           MVKL    .S2     __divi,B5         ; |190| 
           STW     .D2T2   B9,*+SP(48)       ; |179| 
           LDW     .D1T2   *+FP(4),B9        ; |69| 
           STW     .D2T2   B10,*+SP(392)
           STW     .D2T2   B11,*+SP(396)
           STW     .D2T2   B3,*+SP(388)
           STW     .D2T1   A4,*+SP(52)       ; |69| 
           STW     .D2T2   B9,*+SP(56)       ; |182| 
           STW     .D2T2   B6,*+SP(60)       ; |69| 
           STW     .D2T1   A8,*+SP(64)       ; |69| 
           STW     .D2T2   B8,*+SP(68)       ; |69| 

           STW     .D2T1   A10,*+SP(72)      ; |69| 
||         LDW     .D1T2   *+FP(8),B11       ; |69| 

           LDW     .D2T1   *+SP(24),A4       ; |69| 
           STW     .D2T2   B12,*+SP(76)      ; |69| 

           LDH     .D2T2   *+B7(8),B22       ; |151| 
||         ADD     .D1X    B18,A9,A9         ; |179| 

           LDW     .D2T1   *+SP(20),A9       ; |191| 
||         SHL     .S1     A9,16,A8          ; |179| 

           LDDW    .D2T2   *B7,B7:B6         ; |151| 
           MVKH    .S2     __divi,B5         ; |190| 
           MPYU    .M1     A4,A3,A4          ; |179| 
           LDW     .D2T2   *+SP(24),B9       ; |183| 

           MPYU    .M1     A9,A5,A8          ; |179| 
||         ADD     .D1     A4,A8,A4          ; |179| 

           ADD     .L2     8,SP,B8           ; |151| 
           ADD     .D1X    A8,B20,A16        ; |179| 
           CMPLT   .L1     A4,A16,A0         ; |179| 
   [!A0]   BNOP    .S1     L1,1              ; |179| 
           STH     .D2T2   B22,*+B8(8)       ; |151| 
           STW     .D2T1   A6,*+SP(80)       ; |151| 

           MV      .D1     A9,A11            ; |69| 
||         MVKL    .S2     __divi,B18        ; |182| 

           ZERO    .L1     A9                ; |188| 
||         SUB     .S1     A4,A16,A6         ; |181| 
||         STDW    .D2T2   B7:B6,*B8         ; |151| 
||         MVKH    .S2     __divi,B18        ; |182| 
||         SUB     .D1     A16,A4,A8         ; |191| 

           ; BRANCH OCCURS                   ; |179| 
;** --------------------------------------------------------------------------*
           CALL    .S2     B5                ; |190| 
           ADDKPC  .S2     RL0,B3,4          ; |190| 
RL0:       ; CALL OCCURS                     ; |190| 
           CALL    .S2     B16               ; |191| 
           ADDKPC  .S2     RL1,B3,1          ; |191| 
           MV      .S1     A4,A11            ; |190| 
           MV      .D1     A8,A4             ; |191| 
           MV      .D2X    A17,B4            ; |191| 
RL1:       ; CALL OCCURS                     ; |191| 
           B       .S1     L2                ; |191| 
           ADD     .D1     A4,A4,A4          ; |191| 

           MPYLH   .M1     A7,A12,A6         ; |195| 
||         STW     .D2T1   A4,*+SP(80)       ; |191| 

           MPYLH   .M1     A12,A7,A4         ; |195| 
           MPYLH   .M2     B10,B17,B4        ; |195| 

           MPYLH   .M2     B17,B10,B6        ; |195| 
||         ADD     .D1     A6,A4,A4          ; |195| 

           ; BRANCH OCCURS                   ; |191| 
;** --------------------------------------------------------------------------*
L1:    
           CALL    .S2     B19               ; |181| 
           ADDKPC  .S2     RL2,B3,2          ; |181| 
           MV      .D1     A6,A4             ; |181| 
           MV      .D2     B21,B4            ; |181| 
RL2:       ; CALL OCCURS                     ; |181| 
           CALL    .S2     B18               ; |182| 
           MV      .S1     A4,A9             ; |181| 
           MV      .D2X    A3,B4             ; |182| 
           ADDKPC  .S2     RL3,B3,0          ; |182| 
           MV      .D1     A16,A4            ; |182| 
           NOP             1
RL3:       ; CALL OCCURS                     ; |182| 
           MV      .D2X    A4,B9             ; |182| 
           MPYLH   .M1     A7,A12,A6         ; |195| 
           MPYLH   .M1     A12,A7,A4         ; |195| 
           MPYLH   .M2     B10,B17,B4        ; |195| 

           ADD     .D1     A6,A4,A4          ; |195| 
||         MPYLH   .M2     B17,B10,B6        ; |195| 

;** --------------------------------------------------------------------------*
L2:    

           MPYU    .M1     A7,A12,A4         ; |195| 
||         SHL     .S1     A4,16,A6          ; |195| 

           MPYU    .M2     B17,B10,B4        ; |195| 
||         ADD     .D2     B6,B4,B7          ; |195| 

           ADD     .D1     A4,A6,A7          ; |195| 
||         SHL     .S2     B7,16,B7          ; |195| 
||         STW     .D2T1   A7,*+SP(84)       ; |198| 

           ADD     .D2     B4,B7,B16         ; |195| 

           CMPLT   .L2X    B16,A7,B0         ; |195| 
||         MVKL    .S2     __divi,B8         ; |197| 

   [!B0]   B       .S1     L3                ; |195| 
||         MVKL    .S2     __divi,B5         ; |203| 

           MVKH    .S2     __divi,B8         ; |197| 
           MVKH    .S2     __divi,B5         ; |203| 

           SUB     .S1X    A7,B16,A8         ; |205| 
||         MVKL    .S2     __divi,B6         ; |205| 

           MV      .D1X    B16,A4            ; |203| 
||         MVKH    .S2     __divi,B6         ; |205| 

           ADD     .D2     B10,B10,B16       ; |197| 
||         ADD     .D1     A12,A12,A7        ; |205| 
||         SUB     .S1X    B16,A7,A6         ; |197| 
||         MV      .S2X    A12,B4            ; |203| 
||         ZERO    .L2     B7                ; |202| 

           ; BRANCH OCCURS                   ; |195| 
;** --------------------------------------------------------------------------*
           CALL    .S2     B5                ; |203| 
           ADDKPC  .S2     RL4,B3,4          ; |203| 
RL4:       ; CALL OCCURS                     ; |203| 
           CALL    .S2     B6                ; |205| 
           ADDKPC  .S2     RL5,B3,1          ; |205| 
           MV      .D2X    A7,B4             ; |205| 
           ADD     .S1     2,A4,A16          ; |203| 
           MV      .D1     A8,A4             ; |205| 
RL5:       ; CALL OCCURS                     ; |205| 
           LDW     .D2T1   *+SP(20),A6       ; |205| 
           LDW     .D2T2   *+SP(20),B4       ; |205| 
           NOP             3
           MPYLH   .M1     A6,A4,A6          ; |205| 
           MPYLH   .M2X    A4,B4,B5          ; |205| 
           MPYU    .M2X    B4,A4,B4          ; |205| 
           ADD     .D2X    A6,B5,B5          ; |205| 
           SHL     .S2     B5,16,B5          ; |205| 

           LDW     .D2T2   *+SP(80),B5       ; |205| 
||         ADD     .S2     B4,B5,B4          ; |205| 

           AND     .D1     -2,A16,A4         ; |203| 
           BNOP    .S1     L4,2              ; |205| 
           ADDAH   .D2     B5,B4,B4          ; |205| 
           STW     .D2T1   A4,*+SP(84)       ; |205| 
           STW     .D2T2   B4,*+SP(80)       ; |205| 
           ; BRANCH OCCURS                   ; |205| 
;** --------------------------------------------------------------------------*
L3:    
           CALL    .S2     B8                ; |197| 
           ADDKPC  .S2     RL6,B3,2          ; |197| 
           MV      .D1     A6,A4             ; |197| 
           MV      .D2     B16,B4            ; |197| 
RL6:       ; CALL OCCURS                     ; |197| 
           LDW     .D2T1   *+SP(24),A6       ; |197| 
           LDW     .D2T2   *+SP(24),B4       ; |197| 
           LDW     .D2T2   *+SP(24),B5       ; |197| 
           NOP             2
           MPYLH   .M1     A6,A4,A6          ; |197| 
           MPYLH   .M2X    A4,B4,B4          ; |197| 
           MPYU    .M2X    B5,A4,B5          ; |197| 
           ADD     .D2X    A6,B4,B4          ; |197| 
           SHL     .S2     B4,16,B4          ; |197| 
           ADD     .D2     B5,B4,B7          ; |197| 
;** --------------------------------------------------------------------------*
L4:    
           LDW     .D2T1   *+SP(24),A6       ; |214| 
           LDW     .D2T1   *+SP(52),A4
           ZERO    .S2     B8                ; |217| 
           ADD     .S2X    B7,A9,B6          ; |212| 
           MV      .S2     B9,B16            ; |214| 
           STW     .D2T1   A6,*+SP(88)       ; |213| 
           LDW     .D2T2   *+SP(80),B4       ; |213| 
           CMPEQ   .L2X    A4,2,B0           ; |210| 
           LDW     .D2T1   *+SP(52),A6       ; |213| 
           MV      .D1     A11,A4            ; |215| 
   [ B0]   B       .S1     L9                ; |210| 

           MVK     .D2     0x2,B4            ; |216| 
||         AND     .S2     -4,B4,B5          ; |208| 

           STW     .D2T2   B4,*+SP(92)       ; |208| 
           STW     .D2T2   B8,*+SP(96)       ; |208| 
           STW     .D2T2   B5,*+SP(80)       ; |208| 

           CMPEQ   .L1     A6,1,A0           ; |218| 
||         STW     .D2T2   B6,*+SP(100)      ; |212| 

           ; BRANCH OCCURS                   ; |210| 
;** --------------------------------------------------------------------------*
           LDW     .D2T1   *+SP(24),A4
   [ A0]   BNOP    .S1     L6,3              ; |218| 
           SHR     .S1     A4,1,A4           ; |229| 
           STW     .D2T1   A4,*+SP(88)       ; |229| 
           ; BRANCH OCCURS                   ; |218| 
;** --------------------------------------------------------------------------*
           LDW     .D2T2   *+SP(20),B4
           LDW     .D2T1   *+SP(88),A6       ; |230| 
           MV      .D2X    A5,B8
           MV      .L2X    A5,B5             ; |230| 
           LDW     .D2T1   *+SP(88),A5
           SHR     .S2     B4,1,B4           ; |230| 
           MPYLH   .M2     B5,B4,B6          ; |230| 

           MPYLH   .M2     B4,B5,B5          ; |230| 
||         MPYLH   .M1     A4,A3,A4          ; |230| 

           MPYLH   .M1     A3,A6,A6          ; |230| 
||         MV      .D1     A9,A0             ; |230| 

   [!A0]   B       .S1     L5                ; |230| 
||         MPYU    .M2     B8,B4,B4          ; |230| 
||         ADD     .D2     B6,B5,B5          ; |230| 

           SHL     .S2     B5,16,B5          ; |230| 
||         ADD     .D1     A6,A4,A3          ; |230| 
||         SHL     .S1     A3,2,A5           ; |230| 
||         MPYU    .M1     A3,A5,A4          ; |230| 

           ADD     .D2     B4,B5,B6          ; |230| 
||         SHL     .S1     A3,16,A3          ; |230| 

           ADD     .D1     A4,A3,A3          ; |230| 

           ZERO    .D2     B6                ; |230| 
||         SUB     .S1X    A3,B6,A4          ; |230| 
||         MVKL    .S2     __divi,B5         ; |230| 

           STW     .D2T2   B6,*+SP(100)      ; |230| 
||         MV      .L2X    A5,B4             ; |230| 
||         MVKH    .S2     __divi,B5         ; |230| 

           ; BRANCH OCCURS                   ; |230| 
;** --------------------------------------------------------------------------*
           CALL    .S2     B5                ; |230| 
           ADDKPC  .S2     RL7,B3,4          ; |230| 
RL7:       ; CALL OCCURS                     ; |230| 
           STW     .D2T1   A4,*+SP(100)      ; |230| 
;** --------------------------------------------------------------------------*
L5:    
           B       .S1     L8                ; |235| 
           LDW     .D2T2   *+SP(100),B5      ; |232| 
           SHR     .S2     B7,2,B4           ; |230| 
           ADD     .L2X    B7,A9,B6
           MVK     .D2     0x1,B7            ; |234| 
           STW     .D2T2   B7,*+SP(92)       ; |230| 
           ; BRANCH OCCURS                   ; |235| 
;** --------------------------------------------------------------------------*
L6:    
           LDW     .D2T1   *+SP(24),A4       ; |221| 
           LDW     .D2T2   *+SP(20),B4
           MV      .D2X    A5,B6             ; |221| 
           MV      .S2X    A5,B5             ; |221| 
           MV      .D1     A9,A0             ; |221| 
           SHR     .S1     A4,1,A4           ; |220| 
           STW     .D2T1   A4,*+SP(88)       ; |221| 

           LDW     .D2T1   *+SP(88),A5       ; |221| 
||         MV      .L2X    A5,B4             ; |221| 
||         SHR     .S2     B4,1,B8           ; |221| 

           MPYLH   .M2     B5,B8,B5          ; |221| 

           MPYLH   .M1     A3,A4,A6          ; |221| 
||         MPYLH   .M2     B8,B4,B4          ; |221| 

           MPYLH   .M1     A4,A3,A4          ; |221| 

   [!A0]   B       .S1     L7                ; |221| 
||         MPYU    .M2     B6,B8,B4          ; |221| 
||         ADD     .D2     B5,B4,B5          ; |221| 

           ADD     .D1     A6,A4,A5          ; |221| 
||         MPYU    .M1     A3,A5,A4          ; |221| 
||         SHL     .S2     B5,16,B5          ; |221| 

           SHL     .S1     A5,16,A5          ; |221| 
||         ADD     .D2     B4,B5,B4          ; |221| 

           ADD     .D1     A4,A5,A4          ; |221| 
||         MV      .D2X    A3,B5             ; |221| 

           ZERO    .D2     B5                ; |221| 
||         ADD     .L2X    A3,B5,B4          ; |221| 
||         SUB     .S1X    A4,B4,A4          ; |221| 
||         MVKL    .S2     __divi,B6         ; |221| 

           STW     .D2T2   B5,*+SP(100)      ; |221| 
||         MVKH    .S2     __divi,B6         ; |221| 

           ; BRANCH OCCURS                   ; |221| 
;** --------------------------------------------------------------------------*
           CALL    .S2     B6                ; |221| 
           ADDKPC  .S2     RL8,B3,4          ; |221| 
RL8:       ; CALL OCCURS                     ; |221| 
           STW     .D2T1   A4,*+SP(100)      ; |221| 
;** --------------------------------------------------------------------------*
L7:    
           LDW     .D2T2   *+SP(100),B5      ; |223| 
           NOP             2
           SHR     .S2     B7,1,B4           ; |221| 
           ADD     .D2X    B7,A9,B6
;** --------------------------------------------------------------------------*
L8:    

           MVK     .D2     0x1,B5            ; |226| 
||         ADD     .S2     B4,B5,B4          ; |221| 

           STW     .D2T2   B5,*+SP(96)       ; |221| 

           STW     .D2T2   B4,*+SP(100)      ; |221| 
||         SHR     .S1     A11,1,A4          ; |224| 
||         SHR     .S2     B9,1,B16          ; |223| 

;** --------------------------------------------------------------------------*
L9:    
           LDW     .D2T2   *+SP(68),B4       ; |246| 
           EXTU    .S1     A11,1,4,A3        ; |246| 
           SHL     .S1     A3,4,A3           ; |246| 
           ADDK    .S1     32,A3             ; |246| 

           MPYLH   .M1X    B11,A3,A5         ; |246| 
||         EXTU    .S2     B9,1,4,B5         ; |246| 

           MPYLH   .M2X    A3,B11,B4         ; |246| 
||         ADD     .D2     B4,B4,B7          ; |246| 
||         SHL     .S2     B5,4,B17          ; |246| 

           ADD     .D2     B7,B17,B5         ; |246| 
||         MPYU    .M2X    B11,A3,B8         ; |246| 

           EXTU    .S1     A4,1,4,A3         ; |246| 
||         ADD     .D2X    A5,B4,B4          ; |246| 
||         ADDK    .S2     96,B5             ; |246| 

           SHL     .S2     B4,16,B5          ; |246| 
||         ADD     .D2     B5,B17,B4         ; |246| 
||         SHL     .S1     A3,4,A3           ; |246| 

           ADD     .D2     B8,B5,B5          ; |246| 
||         ADDK    .S2     64,B4             ; |246| 
||         ADDK    .S1     32,A3             ; |246| 

           EXTU    .S2     B16,1,4,B4        ; |246| 
||         ADD     .D2     B4,B5,B8          ; |246| 
||         MPYLH   .M1X    A3,B11,A5         ; |246| 
||         EXTU    .S1     A11,2,5,A6        ; |246| 

           SHL     .S2     B4,4,B4           ; |246| 
||         MPYLH   .M2X    B11,A3,B5         ; |246| 
||         SHL     .S1     A6,5,A6           ; |246| 

           ADD     .D1X    B8,A6,A3          ; |246| 
||         MPYU    .M2X    B11,A3,B8         ; |246| 

           ADD     .D1X    B4,A3,A3          ; |246| 
||         ADD     .D2X    B5,A5,B5          ; |246| 

           ADDK    .S1     96,A3             ; |246| 
||         SHL     .S2     B5,16,B5          ; |246| 

           ADD     .D2     B8,B5,B5          ; |246| 
||         ADD     .D1X    A3,B4,A3          ; |246| 
||         EXTU    .S1     A4,2,5,A4         ; |246| 

           ADDK    .S1     64,A3             ; |246| 

           ADD     .D1X    A3,B5,A4          ; |246| 
||         SHL     .S1     A4,5,A3           ; |246| 

           ADD     .D1     A3,A4,A4          ; |246| 
           ADD     .D1X    B4,A4,A4          ; |246| 
           ADDK    .S1     96,A4             ; |246| 
           MVKL    .S1     __divi,A5         ; |266| 
           ADD     .D2X    A4,B4,B4          ; |246| 
           ADDK    .S2     64,B4             ; |246| 
           ADD     .D2     B4,B5,B5          ; |246| 
           MVK     .S2     24640,B4          ; |246| 

           ADD     .D1X    A3,B5,A3          ; |246| 
||         MVKH    .S1     __divi,A5         ; |266| 

           ADD     .D1X    B4,A3,A7          ; |246| 

           CALL    .S2X    A5                ; |266| 
||         LDW     .D2T2   *+SP(60),B5       ; |263| 
||         SHR     .S1     A7,13,A3          ; |263| 

           SHRU    .S1     A3,18,A3          ; |263| 
           ADD     .D1     A3,A7,A3          ; |263| 
           SHR     .S1     A3,14,A3          ; |263| 
           ADDKPC  .S2     RL9,B3,0          ; |266| 

           LDH     .D2T2   *+B5(2),B8        ; |238| 
||         MV      .D1X    B9,A4             ; |266| 
||         MV      .L2X    A3,B4             ; |263| 

RL9:       ; CALL OCCURS                     ; |266| 
           MVKL    .S2     __divi,B5         ; |267| 
           MVKH    .S2     __divi,B5         ; |267| 
           CALL    .S2     B5                ; |267| 
           ADDKPC  .S2     RL10,B3,0         ; |267| 
           MV      .L2X    A4,B9             ; |266| 
           STW     .D2T1   A4,*+SP(104)      ; |266| 
           MV      .D2X    A3,B4             ; |263| 
           MV      .D1     A11,A4            ; |267| 
RL10:      ; CALL OCCURS                     ; |267| 
           MVKL    .S1     __divi,A6         ; |268| 
           MVKH    .S1     __divi,A6         ; |268| 
           ADD     .S1     8,A4,A5           ; |272| 
           CALL    .S2X    A6                ; |268| 
           ADDKPC  .S2     RL11,B3,2         ; |268| 
           MV      .D1X    B16,A4            ; |268| 
           MV      .D2X    A3,B4             ; |263| 
RL11:      ; CALL OCCURS                     ; |268| 
           LDW     .D2T2   *+SP(68),B5       ; |272| 
           STW     .D2T1   A11,*+SP(108)     ; |265| 
           EXTU    .S2     B9,1,4,B4         ; |289| 
           LDW     .D2T2   *+SP(96),B16      ; |296| 
           AND     .D1     -8,A5,A11         ; |272| 
           ADDAD   .D2     B5,B4,B5          ; |289| 

           EXTU    .S1     A11,1,4,A5        ; |296| 
||         ADD     .D2     B5,B5,B18         ; |289| 

           SHL     .S1     A5,4,A5           ; |296| 
||         SHL     .S2     B4,4,B4           ; |293| 
||         ADDAD   .D2     B18,22,B5         ; |304| 

           ADDK    .S1     32,A5             ; |296| 
||         ADD     .D2     B5,B4,B19         ; |304| 

           SHR     .S2X    A11,B16,B5        ; |274| 
||         MPYLH   .M1X    B11,A5,A6         ; |296| 

           MPYLH   .M2X    A5,B11,B16        ; |296| 

           EXTU    .S2     B5,1,4,B5         ; |309| 
||         STW     .D2T2   B5,*+SP(112)      ; |296| 

           ADD     .D2X    A6,B16,B5         ; |296| 
||         SHL     .S2     B5,4,B17          ; |309| 

           MPYU    .M2X    B11,A5,B5         ; |296| 
||         SHL     .S2     B5,16,B20         ; |296| 

           ADDK    .S2     96,B19            ; |304| 
           ADD     .D2     B5,B20,B5         ; |296| 

           EXTU    .S1     A11,2,5,A5        ; |300| 
||         ADD     .D2     B19,B5,B21        ; |304| 
||         ADDK    .S2     32,B17            ; |309| 

           SHL     .S1     A5,5,A18          ; |300| 
||         MPYLH   .M2     B17,B11,B20       ; |309| 

           MPYLH   .M2     B11,B17,B21       ; |309| 
||         ADD     .D1X    A18,B21,A5        ; |304| 

           MV      .D2X    A4,B16            ; |268| 

           ADD     .D2     B21,B20,B17       ; |309| 
||         MPYU    .M2     B11,B17,B20       ; |309| 
||         EXTU    .S2     B16,1,4,B19       ; |304| 

           LDW     .D2T2   *+SP(112),B21     ; |305| 
||         SHL     .S2     B19,4,B19         ; |304| 

           SHL     .S2     B17,16,B17        ; |309| 
           ADD     .D1X    B19,A5,A5         ; |304| 
           ADDAD   .D1     A5,8,A21          ; |304| 
           ADDAD   .D1     A21,16,A5         ; |305| 

           EXTU    .S2     B21,2,5,B20       ; |312| 
||         ADD     .D2     B20,B17,B17       ; |309| 
||         ADD     .D1X    A5,B19,A5         ; |305| 

           SHL     .S2     B20,5,B20         ; |312| 
||         ADDAD   .D1     A5,12,A6          ; |305| 
||         LDW     .D2T1   *+SP(36),A8       ; |316| 

           ADD     .D1X    B17,A6,A20        ; |309| 
           ADD     .D1X    A20,B20,A5        ; |312| 

           ADDAD   .D1     A5,8,A17          ; |312| 
||         LDW     .D2T1   *+SP(36),A9

           ADD     .D1X    A17,B19,A5        ; |316| 

           ADDAD   .D1     A5,16,A19         ; |316| 
||         ADD     .S1X    A8,B7,A16         ; |282| 

           ADD     .D1X    A19,B19,A5        ; |320| 
||         AND     .D2     -16,B9,B9

           AND     .S1X    -16,B16,A5
||         ADDAD   .D1     A5,12,A8          ; |320| 
||         ADDAD   .D2     B9,6,B9

           ADDAD   .D1     A5,6,A9
||         ADD     .S1X    B7,A9,A5          ; |280| 
||         STW     .D2T2   B9,*+SP(116)

           ADDAD   .D1     A16,4,A16         ; |282| 
||         STW     .D2T1   A9,*+SP(120)

           ADD     .D1     A5,16,A22         ; |280| 
||         STW     .D2T1   A16,*+SP(124)     ; |282| 

           STW     .D2T1   A22,*+SP(128)     ; |280| 
           STW     .D2T2   B6,*+SP(132)      ; |237| 
           STW     .D2T1   A3,*+SP(136)      ; |263| 
           STW     .D2T1   A3,*+SP(140)      ; |263| 
           LDW     .D2T1   *+SP(36),A22      ; |280| 
           LDW     .D2T1   *+SP(36),A3       ; |263| 
           MVK     .S2     16384,B16         ; |344| 
           ADD     .S2     B4,B7,B9          ; |293| 
           ADDK    .S2     176,B9            ; |293| 
           ADD     .D1X    A22,B18,A22       ; |289| 

           ADDAD   .D1     A22,22,A21        ; |289| 
||         ADD     .S1     A21,A3,A3         ; |304| 

           ADDAD   .D1     A3,16,A21         ; |304| 
||         STW     .D2T1   A21,*+SP(144)     ; |289| 

           STW     .D2T1   A21,*+SP(148)     ; |304| 

           ZERO    .D1     A4                ; |271| 
||         STW     .D2T1   A4,*+SP(152)      ; |268| 

           STW     .D2T1   A4,*+SP(156)      ; |339| 

           LDW     .D2T1   *+SP(36),A7       ; |339| 
||         CMPLT   .L1X    A7,B16,A0         ; |344| 

           LDW     .D2T1   *+SP(116),A4      ; |339| 
           ZERO    .D1     A3                ; |338| 
           STH     .D1T1   A3,*+A5(42)       ; |342| 
           STH     .D1T1   A3,*+A5(24)       ; |341| 
           ADD     .D1     A20,A7,A7         ; |311| 

           EXTU    .S1     A4,16,16,A4
||         STW     .D2T1   A7,*+SP(160)      ; |339| 

           STW     .D2T1   A4,*+SP(164)      ; |339| 
           LDW     .D2T1   *+SP(36),A7       ; |339| 
           LDW     .D2T1   *+SP(120),A4      ; |339| 
           ADD     .D2     B9,B4,B4          ; |293| 
           ADDAD   .D2     B4,12,B9          ; |293| 
           STH     .D1T1   A3,*+A5(40)       ; |341| 

           ADD     .D2     B5,B9,B7          ; |296| 
||         ADD     .D1X    A7,B9,A7          ; |293| 
||         ADD     .S2X    A7,B7,B9          ; |285| 

           STW     .D2T1   A7,*+SP(168)      ; |338| 
||         EXTU    .S1     A4,16,16,A4

           STW     .D2T1   A4,*+SP(172)      ; |338| 
           STH     .D1T1   A3,*+A5(22)       ; |340| 
           STH     .D1T1   A3,*+A5(38)       ; |340| 
           LDW     .D2T1   *+SP(36),A4       ; |338| 
           STH     .D1T1   A3,*+A5(20)       ; |339| 
           STH     .D1T1   A3,*+A5(36)       ; |339| 
           STH     .D1T1   A3,*+A5(18)       ; |338| 

           ZERO    .D2     B16               ; |344| 
||         STH     .D1T1   A3,*+A5(34)       ; |338| 

           ADD     .S1     A17,A4,A4         ; |315| 
||         ADD     .L1     A19,A4,A3         ; |319| 
||         STH     .D1T1   A3,*+A5(26)       ; |342| 
||         STW     .D2T2   B16,*+SP(176)     ; |338| 

           STW     .D2T1   A4,*+SP(180)      ; |338| 
           STW     .D2T1   A3,*+SP(184)      ; |338| 
           LDW     .D2T2   *+SP(68),B4       ; |339| 
           LDW     .D2T1   *+SP(36),A4       ; |338| 
           LDW     .D2T1   *+SP(124),A3      ; |338| 
           MV      .D1     A10,A21           ; |339| 
           ADDAD   .D2     B9,6,B9           ; |285| 
           MPY     .M2X    B4,A21,B4         ; |337| 

           ADD     .L2X    B7,A18,B8         ; |300| 
||         STW     .D2T2   B9,*+SP(188)      ; |337| 
||         SHR     .S2     B8,1,B5           ; |238| 

           ADD     .D2X    A4,B8,B6          ; |300| 
||         ADD     .S2     B6,B5,B8          ; |238| 
||         STH     .D1T2   B4,*A3            ; |337| 
||         ADD     .S1X    B17,A8,A9         ; |324| 

           ADD     .D1     A8,A4,A4          ; |323| 
||         STW     .D2T2   B8,*+SP(192)      ; |337| 
||         ADD     .S1     A9,A4,A3          ; |326| 

           STW     .D2T1   A4,*+SP(196)      ; |337| 
           STW     .D2T1   A3,*+SP(200)      ; |337| 
           LDW     .D2T1   *+SP(128),A4      ; |337| 
           LDW     .D2T2   *+SP(100),B8      ; |337| 
           LDW     .D2T1   *+SP(36),A3       ; |337| 
           ADD     .D1X    A9,B20,A16        ; |327| 
           ADDAD   .D1     A16,8,A16         ; |327| 

           ADDAD   .D2     B6,8,B4           ; |300| 
||         STH     .D1T2   B4,*A4            ; |337| 

   [ A0]   B       .S1     L23               ; |344| 
||         ADD     .D2     B8,B5,B6          ; |239| 

           ADD     .S2X    B7,A3,B5          ; |296| 
||         STW     .D2T2   B6,*+SP(204)      ; |337| 

           STW     .D2T2   B5,*+SP(208)      ; |337| 

           ADD     .S1     A6,A3,A4          ; |308| 
||         STW     .D2T2   B4,*+SP(212)      ; |337| 

           ADD     .D1     A16,A3,A3         ; |331| 
||         STW     .D2T1   A4,*+SP(216)      ; |337| 

           STW     .D2T1   A3,*+SP(220)      ; |337| 
           ; BRANCH OCCURS                   ; |344| 
;** --------------------------------------------------------------------------*
;**   BEGIN LOOP L10
;** --------------------------------------------------------------------------*
L10:    
           LDW     .D2T1   *+SP(128),A3
           LDW     .D2T2   *+SP(132),B4
           LDW     .D2T1   *+SP(164),A6      ; |369| 
           MVKL    .S2     _DAT_copy,B5      ; |382| 
           MVKH    .S2     _DAT_copy,B5      ; |382| 
           LDH     .D1T1   *+A3(4),A3        ; |366| 
           NOP             4
           ADD     .D2X    A3,B4,B4          ; |366| 
           STW     .D2T2   B4,*+SP(132)      ; |366| 
           LDW     .D2T1   *+SP(128),A3      ; |366| 
           AND     .D2     -8,B4,B4          ; |382| 
           STW     .D2T2   B4,*+SP(224)      ; |369| 
           LDW     .D2T1   *+SP(224),A5      ; |367| 
           LDW     .D2T2   *+SP(188),B4      ; |382| 
           LDH     .D1T2   *+A3(6),B12       ; |367| 

           MV      .S1     A3,A4             ; |382| 
||         LDH     .D1T2   *+A3(20),B10      ; |369| 

           CALL    .S2     B5                ; |382| 
||         LDW     .D2T1   *+SP(44),A3       ; |367| 
||         LDH     .D1T2   *+A4(22),B13      ; |370| 

           ADDKPC  .S2     RL12,B3,3         ; |382| 
           ADD     .D1     A3,A5,A4          ; |382| 
RL12:      ; CALL OCCURS                     ; |382| 
           LDW     .D2T2   *+SP(100),B4      ; |382| 
           MVKL    .S1     _DAT_copy,A3      ; |386| 
           STW     .D2T1   A4,*+SP(228)      ; |382| 
           MVKH    .S1     _DAT_copy,A3      ; |386| 
           LDW     .D2T1   *+SP(172),A6      ; |382| 

           ADD     .S2     B10,B4,B4         ; |369| 
||         LDW     .D2T1   *+SP(28),A4       ; |386| 

           STW     .D2T2   B4,*+SP(100)      ; |369| 
||         CALL    .S2X    A3                ; |386| 

           LDW     .D2T2   *+SP(212),B4      ; |386| 
||         AND     .S2     -8,B4,B10         ; |386| 

           ADDKPC  .S2     RL13,B3,2         ; |386| 
           ADD     .D1X    A4,B10,A4         ; |386| 
RL13:      ; CALL OCCURS                     ; |386| 
           MVKL    .S2     _DAT_copy,B5      ; |390| 

           MVKH    .S2     _DAT_copy,B5      ; |390| 
||         LDW     .D2T1   *+SP(32),A3       ; |390| 

           LDW     .D2T1   *+SP(172),A6      ; |386| 
||         CALL    .S2     B5                ; |390| 

           LDW     .D2T2   *+SP(180),B4      ; |390| 
           STW     .D2T1   A4,*+SP(232)      ; |386| 
           ADDKPC  .S2     RL14,B3,1         ; |390| 
           ADD     .D1X    A3,B10,A4         ; |390| 
RL14:      ; CALL OCCURS                     ; |390| 
           LDW     .D2T1   *+SP(156),A3      ; |347| 
           LDW     .D2T2   *+SP(176),B5      ; |390| 
           LDW     .D2T2   *+SP(136),B4      ; |390| 
           NOP             4

           ADD     .D1     A11,A3,A3         ; |346| 
||         SUB     .D2     B5,B4,B4          ; |347| 

           CMPEQ   .L2     B4,-1,B0          ; |347| 
||         STW     .D2T1   A3,*+SP(156)      ; |347| 

   [ B0]   LDW     .D2T1   *+SP(108),A3      ; |347| 
   [ B0]   LDW     .D2T1   *+SP(156),A5      ; |347| 
           ZERO    .D2     B5                ; |396| 
           ZERO    .S2     B4                ; |358| 
           STW     .D2T2   B5,*+SP(236)      ; |358| 
           STW     .D2T2   B4,*+SP(240)      ; |358| 
   [ B0]   SUB     .D1     A3,A5,A3          ; |349| 

           LDW     .D2T2   *+SP(116),B4      ; |358| 
|| [ B0]   ADD     .D1     A11,A3,A3         ; |349| 

           LDW     .D2T1   *+SP(120),A3      ; |372| 
|| [ B0]   AND     .D1     -4,A3,A11         ; |349| 

           LDW     .D2T1   *+SP(84),A5       ; |349| 
           LDW     .D2T2   *+SP(192),B5      ; |390| 
   [ B0]   LDW     .D2T2   *+SP(96),B6       ; |390| 
           STW     .D2T2   B4,*+SP(244)      ; |372| 
           STW     .D2T1   A3,*+SP(248)      ; |373| 
           LDW     .D2T1   *+SP(76),A3       ; |373| 
           CMPGT   .L2X    A5,0,B1           ; |399| 
           ZERO    .D1     A5                ; |395| 
   [ B0]   SHR     .S2X    A11,B6,B6         ; |351| 
   [ B0]   STW     .D2T2   B6,*+SP(112)      ; |351| 

           STW     .D2T1   A3,*+SP(252)      ; |353| 
||         MV      .S2X    A3,B4             ; |353| 

           STW     .D2T2   B4,*+SP(256)      ; |353| 
           LDW     .D2T2   *+SP(204),B4      ; |390| 
           MV      .D1X    B10,A3            ; |390| 
           STW     .D2T1   A3,*+SP(260)      ; |390| 

   [!B1]   B       .S1     L20               ; |399| 
||         STW     .D2T1   A5,*+SP(264)      ; |351| 
||         ADD     .D1     A11,A11,A3

           STW     .D2T1   A3,*+SP(268)      ; |351| 

           ADD     .S2     B13,B4,B5         ; |370| 
||         ADD     .L2     B12,B5,B4         ; |367| 
||         STW     .D2T1   A4,*+SP(272)      ; |390| 

           STW     .D2T2   B4,*+SP(192)      ; |351| 
           STW     .D2T2   B5,*+SP(204)      ; |351| 
   [ B1]   ZERO    .D1     A4                ; |356| 
           ; BRANCH OCCURS                   ; |399| 
;** --------------------------------------------------------------------------*

           STW     .D2T1   A4,*+SP(276)      ; |356| 
||         ZERO    .D1     A3                ; |356| 

           STW     .D2T1   A3,*+SP(280)      ; |356| 

           STW     .D2T1   A5,*+SP(284)      ; |355| 
||         ZERO    .S2     B6                ; |359| 

           STW     .D2T2   B6,*+SP(288)      ; |355| 
||         ZERO    .S2     B5                ; |359| 

           STW     .D2T2   B5,*+SP(292)      ; |355| 

           STW     .D2T1   A4,*+SP(296)      ; |355| 
||         MVK     .D1     0x1,A3            ; |361| 

           STW     .D2T1   A3,*+SP(300)      ; |355| 
||         ZERO    .S2     B4                ; |355| 

           STW     .D2T2   B4,*+SP(304)      ; |355| 
           STW     .D2T2   B6,*+SP(308)      ; |355| 
           STW     .D2T2   B5,*+SP(312)      ; |355| 
           STW     .D2T2   B4,*+SP(316)      ; |355| 

           STW     .D2T1   A4,*+SP(320)      ; |355| 
||         ZERO    .D1     A3                ; |355| 

           STW     .D2T1   A3,*+SP(324)      ; |355| 
           LDW     .D2T1   *+SP(84),A3       ; |355| 
           MVK     .D2     0x1,B5            ; |379| 
           STW     .D2T2   B5,*+SP(328)
           MVK     .D1     0x1,A4            ; |380| 
           STW     .D2T1   A4,*+SP(332)

           SUB     .D1     A3,6,A3
||         STW     .D2T2   B4,*+SP(336)

           STW     .D2T1   A3,*+SP(340)
||         ZERO    .S2     B13               ; |364| 
||         ZERO    .D1     A13               ; |394| 
||         ZERO    .S1     A14               ; |364| 

           LDW     .D2T1   *+SP(340),A3
;*----------------------------------------------------------------------------*
;*   SOFTWARE PIPELINE INFORMATION
;*      Disqualified loop: Loop contains control code
;*----------------------------------------------------------------------------*
L11:    
           LDW     .D2T1   *+SP(284),A4
           NOP             4
           CMPLT   .L1     A4,A3,A0          ; |401| 
   [!A0]   B       .S1     L21               ; |401| 
   [ A0]   LDW     .D2T2   *+SP(292),B4
   [!A0]   LDW     .D2T1   *+SP(236),A0
           NOP             3
           ; BRANCH OCCURS                   ; |401| 
;** --------------------------------------------------------------------------*
           LDW     .D2T1   *+SP(52),A3

           LDW     .D2T2   *+SP(92),B4       ; |403| 
||         CMPLT   .L2     B4,B11,B0         ; |403| 

           NOP             2
   [!B0]   BNOP    .S1     L12,1             ; |403| 

           CMPEQ   .L1     A3,0,A4
||         CMPLT   .L2X    A14,B4,B4

           STW     .D2T2   B4,*+SP(344)
||         XOR     .D1     1,A4,A3
||         CMPEQ   .L1     A3,0,A4

           STW     .D2T1   A4,*+SP(348)

   [ B0]   MVKL    .S2     _DAT_wait,B4      ; |406| 
||         STW     .D2T1   A3,*+SP(352)

           ; BRANCH OCCURS                   ; |403| 
;** --------------------------------------------------------------------------*
           MVKH    .S2     _DAT_wait,B4      ; |406| 
           CALL    .S2     B4                ; |406| 
           LDW     .D2T1   *+SP(228),A4      ; |406| 
           ADDKPC  .S2     RL15,B3,3         ; |406| 
RL15:      ; CALL OCCURS                     ; |406| 
           LDW     .D2T2   *+SP(244),B5      ; |406| 
           LDW     .D2T2   *+SP(328),B4      ; |406| 
           LDW     .D2T2   *+SP(304),B6
           MVKL    .S1     _DAT_copy,A3      ; |408| 
           MVKH    .S1     _DAT_copy,A3      ; |408| 
           LDW     .D2T1   *+SP(44),A4       ; |408| 

           LDW     .D2T2   *+SP(244),B4      ; |408| 
||         MV      .S2     B4,B5             ; |408| 
||         MV      .L2     B4,B9             ; |408| 
||         MPYLH   .M2     B5,B4,B7          ; |408| 

           NOP             4

           LDW     .D2T2   *+SP(24),B5
||         MPYLH   .M2     B5,B4,B8          ; |408| 

           NOP             4

           ADD     .D2     B7,B8,B4          ; |408| 
||         MPYU    .M2     B4,B9,B6          ; |408| 
||         EXTU    .S2     B4,16,16,B5       ; |408| 
||         ADD     .L2     B5,B6,B12         ; |408| 

           LDW     .D2T2   *+SP(224),B4      ; |408| 
||         SHL     .S2     B4,16,B8          ; |408| 

           MV      .D1X    B5,A6             ; |408| 

           CALL    .S2X    A3                ; |408| 
||         LDW     .D2T2   *+SP(188),B5      ; |408| 

           AND     .D2     -8,B12,B7         ; |408| 
           ADDKPC  .S2     RL16,B3,0         ; |408| 

           ADD     .D2     B6,B8,B4          ; |408| 
||         ADD     .S2     B4,B7,B6          ; |408| 

           NOP             1

           ADD     .D1X    A4,B6,A4          ; |408| 
||         ADD     .D2     B5,B4,B4          ; |408| 

RL16:      ; CALL OCCURS                     ; |408| 
           LDW     .D2T1   *+SP(244),A5      ; |408| 
           LDW     .D2T1   *+SP(320),A3      ; |408| 
           NOP             2
           STW     .D2T1   A4,*+SP(228)      ; |408| 
           LDW     .D2T1   *+SP(244),A4      ; |413| 

           LDW     .D2T1   *+SP(320),A5      ; |413| 
||         MV      .D1     A5,A6             ; |413| 
||         MV      .S2X    A5,B4             ; |413| 
||         MPYLH   .M1     A3,A5,A3          ; |413| 

           NOP             4
           MPYLH   .M1     A6,A5,A5          ; |413| 
           LDW     .D2T1   *+SP(144),A6      ; |408| 

           LDW     .D2T1   *+SP(320),A5      ; |413| 
||         ADD     .D1     A5,A3,A3          ; |413| 

           NOP             3
           SHL     .S1     A3,16,A3          ; |413| 
           MPYU    .M2X    B4,A5,B4          ; |413| 
           NOP             1

           MVKL    .S1     _pix_expand_asm,A3 ; |413| 
||         ADD     .D2X    B4,A3,B5          ; |413| 

           MVKH    .S1     _pix_expand_asm,A3 ; |413| 
           LDW     .D2T2   *+SP(188),B4      ; |413| 
           CALL    .S2X    A3                ; |413| 
           ADDKPC  .S2     RL17,B3,3         ; |413| 
           ADD     .D2     B4,B5,B4          ; |413| 
RL17:      ; CALL OCCURS                     ; |413| 
           LDW     .D2T2   *+SP(304),B4      ; |420| 
           LDW     .D2T1   *+SP(296),A4      ; |420| 
           AND     .D1     -8,A11,A3         ; |420| 
           LDW     .D2T1   *+SP(296),A6      ; |417| 
           ADD     .D1     8,A3,A3           ; |420| 

           LDW     .D2T2   *+SP(192),B4      ; |420| 
||         AND     .S2     7,B4,B5           ; |417| 

           ADD     .S2     B5,B5,B5          ; |417| 
           LDW     .D2T1   *+SP(128),A12     ; |418| 
           LDW     .D2T1   *+SP(72),A10      ; |420| 
           LDW     .D2T1   *+SP(64),A8       ; |420| 

           LDW     .D2T2   *+SP(132),B4      ; |417| 
||         AND     .S2     7,B4,B6           ; |418| 

           NOP             2
           ADDAH   .D2     B5,B6,B6          ; |418| 
           LDW     .D2T2   *+SP(68),B8       ; |420| 
           AND     .L2     7,B4,B4           ; |417| 
           ADDAH   .D2     B5,B4,B4          ; |417| 
           LDW     .D2T2   *+SP(60),B5       ; |417| 
           MPYLH   .M1     A4,A3,A5          ; |420| 
           MPYLH   .M1     A3,A4,A4          ; |420| 
           MPYU    .M1     A6,A3,A3          ; |420| 
           ADD     .D1     A5,A4,A4          ; |420| 

           SHL     .S1     A4,16,A4          ; |420| 
||         STH     .D2T2   B4,*B5            ; |417| 

           LDW     .D2T1   *+SP(168),A4      ; |420| 
||         ADD     .D1     A3,A4,A5          ; |420| 

           LDW     .D2T2   *+SP(104),B4      ; |420| 
           MVKL    .S1     _scale_horz_asm,A3 ; |420| 
           MVKH    .S1     _scale_horz_asm,A3 ; |420| 
           STH     .D2T2   B6,*+B5(2)        ; |418| 
           CALL    .S2X    A3                ; |420| 

           LDW     .D2T1   *+SP(144),A4      ; |420| 
||         ADDAH   .D1     A4,A5,A6          ; |420| 

           ADDKPC  .S2     RL18,B3,1         ; |420| 
           MV      .D2X    A11,B6            ; |420| 
           MV      .L2     B5,B10            ; |418| 
RL18:      ; CALL OCCURS                     ; |420| 
           STW     .D2T2   B12,*+SP(304)     ; |430| 
           LDW     .D2T1   *+SP(296),A3      ; |430| 
           NOP             3
           LDW     .D2T2   *+SP(328),B4      ; |433| 
           ADD     .D1     1,A3,A3           ; |433| 
           STW     .D2T1   A3,*+SP(296)      ; |433| 
           LDW     .D2T2   *+SP(292),B5      ; |433| 

           LDW     .D2T1   *+SP(320),A3      ; |433| 
||         CMPEQ   .L1X    A3,B11,A0         ; |433| 

           NOP             2
           XOR     .S2     1,B4,B4           ; |429| 
           ADD     .D2     1,B5,B5           ; |431| 

           STW     .D2T2   B5,*+SP(292)      ; |433| 
||         XOR     .D1     1,A3,A4           ; |429| 

           STW     .D2T1   A4,*+SP(320)      ; |433| 

   [ A0]   ZERO    .D1     A3                ; |433| 
||         STW     .D2T2   B4,*+SP(328)      ; |433| 

   [ A0]   STW     .D2T1   A3,*+SP(296)      ; |433| 
;** --------------------------------------------------------------------------*
L12:    
           LDW     .D2T2   *+SP(288),B4
           NOP             4
           CMPLT   .L2     B4,B11,B0         ; |436| 
   [!B0]   B       .S1     L13               ; |436| 

   [!B0]   LDW     .D2T2   *+SP(292),B6
|| [ B0]   MVKL    .S1     _DAT_wait,A3      ; |438| 

           NOP             1
   [!B0]   LDW     .D2T2   *+SP(288),B4
   [ B0]   MVKH    .S1     _DAT_wait,A3      ; |438| 
   [!B0]   LDW     .D2T2   *+SP(344),B5
           ; BRANCH OCCURS                   ; |436| 
;** --------------------------------------------------------------------------*
           CALL    .S2X    A3                ; |438| 
           LDW     .D2T1   *+SP(232),A4      ; |438| 
           ADDKPC  .S2     RL19,B3,3         ; |438| 
RL19:      ; CALL OCCURS                     ; |438| 
           LDW     .D2T1   *+SP(332),A3      ; |438| 
           LDW     .D2T1   *+SP(248),A4      ; |438| 
           LDW     .D2T1   *+SP(324),A5
           MVKL    .S2     _DAT_copy,B5      ; |439| 
           LDW     .D2T2   *+SP(212),B4      ; |439| 
           MVKH    .S2     _DAT_copy,B5      ; |439| 

           LDW     .D2T1   *+SP(248),A3      ; |439| 
||         MV      .D1     A3,A4             ; |439| 
||         MPYLH   .M1     A4,A3,A6          ; |439| 

           NOP             4

           LDW     .D2T1   *+SP(88),A3
||         MPYLH   .M1     A4,A3,A7          ; |439| 
||         MV      .D1     A3,A8             ; |439| 

           NOP             3
           MPYU    .M1     A8,A4,A4          ; |439| 
           ADD     .D1     A3,A5,A5          ; |439| 

           STW     .D2T1   A5,*+SP(356)      ; |439| 
||         ADD     .D1     A6,A7,A3          ; |439| 

           LDW     .D2T1   *+SP(260),A3      ; |439| 
||         SHL     .S1     A3,16,A5          ; |439| 
||         AND     .D1     -8,A5,A6          ; |439| 

           NOP             1
           ADD     .D1     A4,A5,A10         ; |439| 
           MV      .D1     A8,A7             ; |439| 
           ADD     .D2X    B4,A10,B4         ; |439| 
           ADD     .D1     A3,A6,A12         ; |439| 

           LDW     .D2T1   *+SP(28),A3       ; |439| 
||         CALL    .S2     B5                ; |439| 

           EXTU    .S1     A7,16,16,A6       ; |439| 
           ADDKPC  .S2     RL20,B3,2         ; |439| 
           ADD     .D1     A3,A12,A4         ; |439| 
RL20:      ; CALL OCCURS                     ; |439| 
           MVKL    .S1     _DAT_wait,A3      ; |444| 
           MVKH    .S1     _DAT_wait,A3      ; |444| 
           STW     .D2T1   A4,*+SP(232)      ; |439| 
           CALL    .S2X    A3                ; |444| 
           LDW     .D2T1   *+SP(272),A4      ; |444| 
           ADDKPC  .S2     RL21,B3,3         ; |444| 
RL21:      ; CALL OCCURS                     ; |444| 
           LDW     .D2T1   *+SP(248),A4      ; |445| 
           NOP             1
           MVKL    .S1     _DAT_copy,A3      ; |445| 
           MVKH    .S1     _DAT_copy,A3      ; |445| 
           LDW     .D2T2   *+SP(180),B4      ; |445| 

           LDW     .D2T1   *+SP(32),A4       ; |445| 
||         CALL    .S2X    A3                ; |445| 
||         EXTU    .S1     A4,16,16,A6       ; |445| 

           ADDKPC  .S2     RL22,B3,3         ; |445| 

           ADD     .D1     A4,A12,A4         ; |445| 
||         ADD     .D2X    B4,A10,B4         ; |445| 

RL22:      ; CALL OCCURS                     ; |445| 
           LDW     .D2T1   *+SP(336),A5      ; |445| 
           LDW     .D2T1   *+SP(248),A3      ; |445| 
           NOP             3
           LDW     .D2T1   *+SP(148),A6      ; |450| 

           LDW     .D2T1   *+SP(248),A5      ; |450| 
||         MV      .S2X    A5,B4             ; |450| 
||         MPYLH   .M1     A3,A5,A3          ; |450| 

           NOP             3
           STW     .D2T1   A4,*+SP(272)      ; |445| 
           MPYLH   .M2X    B4,A5,B5          ; |450| 
           MPYU    .M2X    A5,B4,B4          ; |450| 

           MVKL    .S1     _pix_expand_asm,A3 ; |450| 
||         ADD     .D2X    A3,B5,B5          ; |450| 

           MVKH    .S1     _pix_expand_asm,A3 ; |450| 
           SHL     .S2     B5,16,B5          ; |450| 

           LDW     .D2T2   *+SP(212),B4      ; |450| 
||         CALL    .S2X    A3                ; |450| 
||         ADD     .L2     B4,B5,B10         ; |450| 

           MV      .D1     A5,A4             ; |445| 
           ADDKPC  .S2     RL23,B3,2         ; |450| 
           ADD     .L2     B4,B10,B4         ; |450| 
RL23:      ; CALL OCCURS                     ; |450| 
           MVKL    .S1     _pix_expand_asm,A3 ; |453| 
           MVKH    .S1     _pix_expand_asm,A3 ; |453| 
           LDW     .D2T2   *+SP(180),B4      ; |453| 

           CALL    .S2X    A3                ; |453| 
||         LDW     .D2T1   *+SP(184),A6      ; |453| 

           LDW     .D2T1   *+SP(248),A4      ; |453| 
           ADDKPC  .S2     RL24,B3,2         ; |453| 
           ADD     .D2     B4,B10,B4         ; |453| 
RL24:      ; CALL OCCURS                     ; |453| 
           LDW     .D2T2   *+SP(112),B4      ; |453| 
           LDW     .D2T1   *+SP(324),A3      ; |460| 
           LDW     .D2T1   *+SP(124),A12     ; |458| 
           LDW     .D2T1   *+SP(216),A5      ; |460| 
           LDW     .D2T1   *+SP(148),A4      ; |460| 
           AND     .D2     -8,B4,B4          ; |460| 

           LDW     .D2T2   *+SP(308),B4      ; |460| 
||         ADD     .S2     8,B4,B5           ; |460| 

           AND     .D2X    7,A3,B8           ; |457| 
           MVKL    .S1     _scale_horz_asm,A3 ; |460| 
           MVKH    .S1     _scale_horz_asm,A3 ; |460| 
           LDW     .D2T1   *+SP(72),A10      ; |460| 
           MPYLH   .M2     B5,B4,B7          ; |460| 

           LDW     .D2T2   *+SP(204),B4      ; |457| 
||         MPYLH   .M2     B4,B5,B6          ; |460| 
||         MV      .S2     B4,B9             ; |457| 

           NOP             2
           LDW     .D2T1   *+SP(64),A8       ; |460| 

           ADD     .D2     B6,B7,B8          ; |460| 
||         MPYU    .M2     B9,B5,B6          ; |460| 
||         ADD     .S2     B8,B8,B5          ; |457| 

           LDW     .D2T2   *+SP(100),B4      ; |460| 
||         AND     .S2     7,B4,B7           ; |458| 

           SHL     .S2     B8,16,B8          ; |460| 
           ADD     .S2     B6,B8,B6          ; |460| 
           ADD     .S2     B6,B6,B12         ; |460| 
           LDW     .D2T2   *+SP(112),B6      ; |460| 

           ADDAH   .D2     B5,B7,B4          ; |458| 
||         AND     .S2     7,B4,B7           ; |457| 

           ADDAH   .D2     B5,B7,B5          ; |457| 
           LDW     .D2T2   *+SP(60),B7       ; |457| 
           NOP             3
           ADD     .D1X    A5,B12,A6         ; |460| 
           STH     .D2T2   B4,*+B7(2)        ; |458| 
           LDW     .D2T2   *+SP(152),B4      ; |460| 
           LDW     .D2T2   *+SP(68),B8       ; |460| 
           CALL    .S2X    A3                ; |460| 
           ADDKPC  .S2     RL25,B3,1         ; |460| 
           STH     .D2T2   B5,*B7            ; |457| 
           NOP             1
           MV      .L2     B7,B10            ; |458| 
RL25:      ; CALL OCCURS                     ; |460| 
           LDW     .D2T1   *+SP(196),A3      ; |469| 
           LDW     .D2T1   *+SP(64),A8       ; |469| 

           MVKL    .S2     _scale_horz_asm,B5 ; |469| 
||         LDW     .D2T2   *+SP(112),B6      ; |469| 

           MVKH    .S2     _scale_horz_asm,B5 ; |469| 
||         LDW     .D2T2   *+SP(152),B4      ; |469| 

           LDW     .D2T2   *+SP(68),B8       ; |469| 
||         CALL    .S2     B5                ; |469| 

           LDW     .D2T1   *+SP(184),A4      ; |469| 
           ADD     .D1X    A3,B12,A6         ; |469| 
           ADDKPC  .S2     RL26,B3,2         ; |469| 
RL26:      ; CALL OCCURS                     ; |469| 
           LDW     .D2T1   *+SP(356),A3      ; |469| 
           NOP             4
           STW     .D2T1   A3,*+SP(324)      ; |480| 
           LDW     .D2T2   *+SP(308),B4      ; |480| 
           NOP             4
           ADD     .D2     1,B4,B4           ; |483| 
           STW     .D2T2   B4,*+SP(308)      ; |483| 
           LDW     .D2T2   *+SP(288),B5      ; |483| 

           LDW     .D2T2   *+SP(336),B4      ; |483| 
||         CMPEQ   .L2     B4,B11,B0         ; |483| 

           LDW     .D2T1   *+SP(332),A3      ; |483| 
           NOP             3

           XOR     .D2     1,B4,B5           ; |478| 
||         ADD     .S2     1,B5,B6           ; |479| 

           XOR     .D1     1,A3,A3           ; |478| 
||         STW     .D2T2   B5,*+SP(336)      ; |483| 

           STW     .D2T1   A3,*+SP(332)      ; |483| 

           STW     .D2T2   B6,*+SP(288)      ; |483| 
|| [ B0]   ZERO    .S2     B4                ; |483| 

   [ B0]   STW     .D2T2   B4,*+SP(308)      ; |483| 
           LDW     .D2T2   *+SP(292),B6
           NOP             1
           LDW     .D2T2   *+SP(288),B4
           NOP             1
           LDW     .D2T2   *+SP(344),B5
;** --------------------------------------------------------------------------*
L13:    
           CMPLT   .L2     B6,B11,B0         ; |487| 
   [ B0]   B       .S1     L14               ; |487| 
           CMPLT   .L2     B4,B11,B4
           XOR     .D2     1,B4,B4
           AND     .D2     B5,B4,B4
           NOP             1

   [!B0]   LDW     .D2T2   *+SP(316),B4
||         MV      .D1X    B4,A12

           ; BRANCH OCCURS                   ; |487| 
;** --------------------------------------------------------------------------*
           AND     .D1     -8,A11,A3         ; |489| 
           ADD     .D1     8,A3,A6           ; |489| 
           MPYLH   .M1X    B13,A6,A3         ; |489| 
           LDW     .D2T1   *+SP(36),A8       ; |489| 
           MPYLH   .M2     B4,B11,B5         ; |489| 
           MPYU    .M2     B11,B4,B6         ; |489| 
           MPYLH   .M2     B11,B4,B7         ; |489| 
           MPYLH   .M2X    A6,B13,B4         ; |489| 
           ADD     .D2     B7,B5,B7          ; |489| 

           ADD     .D2X    A3,B4,B7          ; |489| 
||         SHL     .S2     B7,16,B4          ; |489| 

           LDW     .D2T2   *+SP(56),B4       ; |489| 
||         ADD     .S2     B6,B4,B6          ; |489| 

           MVKL    .S1     _scale_vert_asm,A3 ; |489| 
           MVKH    .S1     _scale_vert_asm,A3 ; |489| 
           MPYU    .M2X    B13,A6,B5         ; |489| 
           LDW     .D2T1   *+SP(276),A10     ; |489| 

           ADDAH   .D2     B4,B6,B6          ; |489| 
||         SHL     .S2     B7,16,B7          ; |489| 

           CALL    .S2X    A3                ; |489| 
||         LDW     .D2T2   *+SP(208),B5      ; |489| 
||         ADD     .L2     B5,B7,B4          ; |489| 

           LDW     .D2T1   *+SP(168),A4      ; |489| 
           ADDKPC  .S2     RL27,B3,1         ; |489| 
           MV      .L2     B11,B8            ; |489| 
           ADDAH   .D2     B5,B4,B4          ; |489| 
RL27:      ; CALL OCCURS                     ; |489| 
           LDW     .D2T2   *+SP(256),B4      ; |489| 
           NOP             2
           MVKL    .S2     __remi,B6         ; |498| 
           MVKH    .S2     __remi,B6         ; |498| 

           CALL    .S2     B6                ; |498| 
||         LDH     .D2T2   *B4,B5            ; |498| 

           ADDKPC  .S2     RL28,B3,2         ; |498| 
           MV      .D2     B11,B4            ; |498| 
           ADD     .D1X    A10,B5,A4         ; |498| 
RL28:      ; CALL OCCURS                     ; |498| 
           LDW     .D2T2   *+SP(316),B4      ; |498| 
           NOP             3
           ADD     .S2     1,B13,B13         ; |497| 

           ADD     .D2     1,B4,B4           ; |504| 
||         ADD     .S2     1,B4,B6           ; |504| 

           STW     .D2T2   B4,*+SP(316)      ; |504| 
           LDW     .D2T2   *+SP(48),B4       ; |504| 
           NOP             4
           CMPEQ   .L2     B6,B4,B0          ; |504| 
   [ B0]   LDW     .D2T2   *+SP(76),B4       ; |497| 
           LDW     .D2T2   *+SP(292),B6      ; |504| 
   [!B0]   LDW     .D2T2   *+SP(256),B4      ; |504| 
           NOP             2

   [ B0]   ZERO    .S2     B4                ; |504| 
|| [ B0]   STW     .D2T2   B4,*+SP(256)      ; |504| 

   [ B0]   STW     .D2T2   B4,*+SP(316)      ; |502| 
||         SUB     .S2     B6,B5,B5          ; |500| 

           STW     .D2T2   B5,*+SP(292)      ; |502| 
|| [!B0]   ADD     .S2     2,B4,B4           ; |502| 

   [!B0]   STW     .D2T2   B4,*+SP(256)      ; |502| 
           STW     .D2T1   A4,*+SP(276)      ; |498| 
;** --------------------------------------------------------------------------*
L14:    
           LDW     .D2T1   *+SP(348),A3
           NOP             2
           CMPEQ   .L2     B13,2,B12
           MV      .D1     A12,A0
           AND     .D1X    B12,A3,A3
           STW     .D2T1   A3,*+SP(348)
           LDW     .D2T1   *+SP(352),A3
   [!A0]   BNOP    .S1     L15,3             ; |509| 
           AND     .D1X    B12,A3,A3
           STW     .D2T1   A3,*+SP(344)
           ; BRANCH OCCURS                   ; |509| 
;** --------------------------------------------------------------------------*
           LDW     .D2T2   *+SP(112),B4
           LDW     .D2T2   *+SP(312),B5      ; |511| 
           LDW     .D2T2   *+SP(312),B7      ; |511| 
           LDW     .D2T1   *+SP(280),A10     ; |511| 
           LDW     .D2T1   *+SP(36),A8       ; |511| 
           AND     .S2     -8,B4,B4          ; |511| 

           ADD     .D2     8,B4,B10          ; |511| 
||         MPYLH   .M2     B5,B11,B6         ; |511| 

           MPYLH   .M2X    A14,B10,B4        ; |511| 
||         ADD     .D1X    8,B4,A6           ; |511| 

           MPYLH   .M1X    B10,A14,A4        ; |511| 
||         MPYLH   .M2     B11,B5,B5         ; |511| 

           MPYU    .M1X    A14,B10,A3        ; |511| 

           MPYU    .M2     B11,B7,B4         ; |511| 
||         ADD     .D1X    B4,A4,A4          ; |511| 
||         ADD     .D2     B5,B6,B5          ; |511| 

           SHL     .S2     B5,16,B5          ; |511| 

           LDW     .D2T2   *+SP(56),B4       ; |511| 
||         ADD     .S2     B4,B5,B6          ; |511| 

           MVKL    .S2     _scale_vert_asm,B5 ; |511| 
           MVKH    .S2     _scale_vert_asm,B5 ; |511| 
           SHL     .S1     A4,16,A4          ; |511| 
           ADD     .D1     A3,A4,A3          ; |511| 
           ADDAH   .D2     B4,B6,B4          ; |511| 
           STW     .D2T2   B4,*+SP(356)      ; |511| 

           LDW     .D2T2   *+SP(200),B4      ; |511| 
||         MV      .L2     B4,B6             ; |511| 
||         CALL    .S2     B5                ; |511| 

           LDW     .D2T1   *+SP(196),A4      ; |511| 
           ADD     .D1     A3,A3,A12         ; |511| 
           ADDKPC  .S2     RL29,B3,0         ; |511| 
           MV      .L2     B11,B8            ; |511| 
           ADD     .D2X    B4,A12,B4         ; |511| 
RL29:      ; CALL OCCURS                     ; |511| 
           LDW     .D2T1   *+SP(160),A4      ; |519| 
           MVKL    .S1     _scale_vert_asm,A3 ; |519| 
           MVKH    .S1     _scale_vert_asm,A3 ; |519| 
           LDW     .D2T1   *+SP(36),A8       ; |519| 
           LDW     .D2T2   *+SP(356),B6      ; |519| 

           LDW     .D2T1   *+SP(216),A4      ; |519| 
||         ADD     .D1     A4,A12,A5         ; |519| 

           CALL    .S2X    A3                ; |519| 
           ADDKPC  .S2     RL30,B3,1         ; |519| 
           MV      .D2     B11,B8            ; |519| 
           MV      .D1X    B10,A6            ; |519| 
           MV      .L2X    A5,B4             ; |519| Define a twin register
RL30:      ; CALL OCCURS                     ; |519| 
           LDW     .D2T1   *+SP(252),A3      ; |519| 
           NOP             1
           MVKL    .S2     __remi,B5         ; |528| 
           MVKH    .S2     __remi,B5         ; |528| 
           MV      .D2     B11,B4            ; |528| 

           CALL    .S2     B5                ; |528| 
||         LDH     .D1T1   *A3,A3            ; |528| 

           ADDKPC  .S2     RL31,B3,3         ; |528| 
           ADD     .D1     A10,A3,A4         ; |528| 
RL31:      ; CALL OCCURS                     ; |528| 
           LDW     .D2T2   *+SP(312),B4      ; |528| 
           NOP             3
           ADD     .D1     1,A14,A14         ; |526| 

           ADD     .D2     1,B4,B4           ; |534| 
||         ADD     .S2     1,B4,B5           ; |534| 

           STW     .D2T2   B4,*+SP(312)      ; |534| 
           LDW     .D2T2   *+SP(48),B4       ; |534| 
           NOP             4
           CMPLT   .L2     B5,B4,B0          ; |534| 
   [ B0]   LDW     .D2T1   *+SP(252),A5      ; |534| 
           LDW     .D2T2   *+SP(288),B4      ; |534| 
           NOP             1
   [!B0]   LDW     .D2T1   *+SP(76),A5       ; |534| 
   [!B0]   ZERO    .S2     B5                ; |534| 
   [!B0]   STW     .D2T2   B5,*+SP(312)      ; |532| 

   [ B0]   ADD     .D1     2,A5,A3           ; |532| 
||         SUB     .S2X    B4,A3,B4          ; |530| 

   [ B0]   STW     .D2T1   A3,*+SP(252)      ; |532| 
           STW     .D2T2   B4,*+SP(288)      ; |532| 
   [!B0]   STW     .D2T1   A5,*+SP(252)      ; |534| 
           STW     .D2T1   A4,*+SP(280)      ; |528| 
;** --------------------------------------------------------------------------*
L15:    
           LDW     .D2T1   *+SP(344),A6
           CMPEQ   .L1     A14,2,A4          ; |541| 
           LDW     .D2T1   *+SP(348),A5
           CMPGT   .L2X    A14,0,B4
           AND     .D2     B12,B4,B4
           AND     .D1     A6,A4,A0          ; |541| 
   [!A0]   BNOP    .S1     L16,1             ; |541| 
           CMPEQ   .L1     A14,1,A3
           AND     .D1     A5,A3,A10
           MV      .S1X    B4,A12
   [ A0]   MPYLH   .M1     A11,A13,A4        ; |543| 
           ; BRANCH OCCURS                   ; |541| 
;** --------------------------------------------------------------------------*
           MPYLH   .M1     A13,A11,A3        ; |543| 
           LDW     .D2T1   *+SP(220),A5      ; |543| 

           MPYU    .M1     A11,A13,A3        ; |543| 
||         ADD     .D1     A4,A3,A4          ; |543| 

           SHL     .S1     A4,16,A4          ; |543| 

           MVKL    .S1     _ycbcr422pl16_to_rgb565_asm,A3 ; |543| 
||         ADD     .D1     A3,A4,A4          ; |543| 

           MVKH    .S1     _ycbcr422pl16_to_rgb565_asm,A3 ; |543| 
           LDW     .D2T1   *+SP(160),A6      ; |543| 

           CALL    .S2X    A3                ; |543| 
||         LDW     .D2T2   *+SP(200),B6      ; |543| 

           LDW     .D2T2   *+SP(208),B4      ; |543| 
           ADDKPC  .S2     RL32,B3,0         ; |543| 
           ADDAW   .D1     A5,A4,A8          ; |543| 
           ADD     .S1X    8,SP,A4           ; |543| 
           MV      .D2X    A11,B8            ; |543| 
RL32:      ; CALL OCCURS                     ; |543| 
           MVK     .D1     2,A3              ; |549| 
           ADDAW   .D1     A3,A13,A3         ; |549| 

           LDW     .D2T2   *+SP(112),B4      ; |549| 
||         MPYLH   .M1     A3,A11,A5         ; |549| 

           LDW     .D2T2   *+SP(200),B5      ; |549| 
||         MPYLH   .M1     A11,A3,A6         ; |549| 

           LDW     .D2T1   *+SP(160),A7      ; |549| 
||         EXTU    .S1     A11,1,4,A4        ; |549| 

           LDW     .D2T1   *+SP(208),A6      ; |549| 
||         ADD     .D1     A6,A5,A3          ; |549| 
||         MPYU    .M1     A11,A3,A4         ; |549| 
||         SHL     .S1     A4,4,A5           ; |549| 

           SHL     .S1     A3,16,A3          ; |549| 
           ADD     .S1     A4,A3,A3          ; |549| 
           EXTU    .S2     B4,1,4,B4         ; |549| 
           SHL     .S2     B4,4,B4           ; |549| 

           ADD     .D2X    A7,B4,B4          ; |549| 
||         ADD     .S2     B5,B4,B5          ; |549| 
||         ADD     .D1     A6,A5,A5          ; |549| 

           ADD     .D2     B4,16,B4          ; |549| 
||         ADD     .D1     A5,16,A4          ; |549| 

           MVKL    .S2     _ycbcr422pl16_to_rgb565_asm,B5 ; |549| 
||         ADD     .D2     B5,16,B6          ; |549| 

           MV      .D2X    A4,B4             ; |549| 
||         MV      .D1X    B4,A6             ; |549| 
||         MVKH    .S2     _ycbcr422pl16_to_rgb565_asm,B5 ; |549| 

           CALL    .S2     B5                ; |549| 
||         LDW     .D2T1   *+SP(220),A4      ; |549| 

           ADDKPC  .S2     RL33,B3,2         ; |549| 
           MV      .D2X    A11,B8            ; |549| 

           ADD     .D1X    8,SP,A4           ; |549| 
||         ADD     .S1     A4,A3,A8          ; |549| 

RL33:      ; CALL OCCURS                     ; |549| 
           XOR     .D1     1,A13,A13         ; |555| 
;** --------------------------------------------------------------------------*
L16:    
           MV      .D1     A10,A0
   [!A0]   B       .S1     L17               ; |561| 
   [ A0]   MPYLH   .M1     A11,A13,A4        ; |563| 

   [ A0]   MPYLH   .M1     A13,A11,A3        ; |563| 
|| [!A0]   LDW     .D2T1   *+SP(236),A0

           NOP             3
           ; BRANCH OCCURS                   ; |561| 
;** --------------------------------------------------------------------------*

           MPYU    .M1     A11,A13,A3        ; |563| 
||         ADD     .D1     A4,A3,A4          ; |563| 

           SHL     .S1     A4,16,A4          ; |563| 

           MVKL    .S1     _ycbcr422pl16_to_rgb565_asm,A3 ; |563| 
||         ADD     .D1     A3,A4,A4          ; |563| 

           MVKH    .S1     _ycbcr422pl16_to_rgb565_asm,A3 ; |563| 
||         LDW     .D2T1   *+SP(220),A5      ; |563| 

           LDW     .D2T1   *+SP(160),A6      ; |563| 

           CALL    .S2X    A3                ; |563| 
||         LDW     .D2T2   *+SP(200),B6      ; |563| 

           LDW     .D2T2   *+SP(208),B4      ; |563| 
           ADDKPC  .S2     RL34,B3,0         ; |563| 
           ADDAW   .D1     A5,A4,A8          ; |563| 
           ADD     .S1X    8,SP,A4           ; |563| 
           MV      .D2X    A11,B8            ; |563| 
RL34:      ; CALL OCCURS                     ; |563| 
           MVK     .D1     2,A3              ; |568| 
           ADDAW   .D1     A3,A13,A3         ; |568| 
           MPYLH   .M1     A3,A11,A5         ; |568| 

           LDW     .D2T2   *+SP(208),B4      ; |568| 
||         MPYLH   .M1     A11,A3,A4         ; |568| 

           EXTU    .S1     A11,1,4,A6        ; |568| 

           MPYU    .M1     A11,A3,A3         ; |568| 
||         ADD     .D1     A4,A5,A4          ; |568| 
||         SHL     .S1     A6,4,A6           ; |568| 
||         MVKL    .S2     _ycbcr422pl16_to_rgb565_asm,B5 ; |568| 

           LDW     .D2T2   *+SP(200),B6      ; |568| 
||         SHL     .S1     A4,16,A4          ; |568| 
||         MVKH    .S2     _ycbcr422pl16_to_rgb565_asm,B5 ; |568| 

           CALL    .S2     B5                ; |568| 
||         LDW     .D2T1   *+SP(220),A4      ; |568| 
||         ADD     .D1     A3,A4,A3          ; |568| 

           LDW     .D2T1   *+SP(160),A6      ; |568| 
||         ADD     .S2X    B4,A6,B4          ; |568| 

           ADDKPC  .S2     RL35,B3,0         ; |568| 
           ADD     .D2     B4,16,B4          ; |568| 
           MV      .L2X    A11,B8            ; |568| 

           ADD     .D1X    8,SP,A4           ; |568| 
||         ADD     .S1     A4,A3,A8          ; |568| 

RL35:      ; CALL OCCURS                     ; |568| 
           XOR     .D1     1,A13,A13         ; |574| 
           LDW     .D2T1   *+SP(236),A0
           NOP             3
;** --------------------------------------------------------------------------*
L17:    
           NOP             1
   [!A0]   BNOP    .S1     L19,4             ; |586| 
   [!A0]   MV      .D1     A12,A0
           ; BRANCH OCCURS                   ; |586| 
;** --------------------------------------------------------------------------*
           LDW     .D2T1   *+SP(300),A0
           NOP             3
           MPY     .M1     A11,2,A3
   [ A0]   BNOP    .S1     L18,2             ; |588| 
           EXTU    .S1     A3,16,16,A10
   [ A0]   LDW     .D2T1   *+SP(264),A3
           NOP             1
           ; BRANCH OCCURS                   ; |588| 
;** --------------------------------------------------------------------------*
           MVKL    .S1     _DAT_wait,A3      ; |588| 
           MVKH    .S1     _DAT_wait,A3      ; |588| 
           LDW     .D2T1   *+SP(360),A4      ; |588| 
           CALL    .S2X    A3                ; |588| 
           ADDKPC  .S2     RL36,B3,4         ; |588| 
RL36:      ; CALL OCCURS                     ; |588| 
           LDW     .D2T1   *+SP(264),A3
;** --------------------------------------------------------------------------*
L18:    
           LDW     .D2T1   *+SP(264),A4      ; |589| 
           LDW     .D2T1   *+SP(264),A5
           LDW     .D2T2   *+SP(240),B5      ; |589| 
           LDW     .D2T2   *+SP(80),B4       ; |589| 
           MPYLH   .M1     A11,A3,A3         ; |589| 
           MPYLH   .M1     A4,A11,A4         ; |589| 
           MV      .S1     A10,A6            ; |589| 

           MPYU    .M1     A11,A5,A4         ; |589| 
||         ADD     .D1     A3,A4,A3          ; |589| 

           SHL     .S1     A3,16,A3          ; |589| 

           MVKL    .S1     _DAT_copy,A3      ; |589| 
||         ADD     .D1     A4,A3,A4          ; |589| 

           ADDAH   .D2     B4,B5,B5          ; |589| 
||         MVKH    .S1     _DAT_copy,A3      ; |589| 

           LDW     .D2T2   *+SP(40),B4       ; |589| 

           LDW     .D2T1   *+SP(220),A5      ; |589| 
||         CALL    .S2X    A3                ; |589| 

           ADDKPC  .S2     RL37,B3,3         ; |589| 

           ADDAW   .D1     A5,A4,A4          ; |589| 
||         ADD     .D2     B4,B5,B4          ; |589| 

RL37:      ; CALL OCCURS                     ; |589| 
           LDW     .D2T2   *+SP(240),B5      ; |594| 
           LDW     .D2T2   *+SP(20),B4       ; |594| 
           LDW     .D2T1   *+SP(264),A4      ; |594| 
           NOP             1
           MVK     .D1     2,A3              ; |594| 
           MV      .S1     A10,A6            ; |594| 

           LDW     .D2T2   *+SP(80),B4       ; |594| 
||         ADD     .S2     B4,B5,B10         ; |592| 

           ADDAW   .D1     A3,A4,A3          ; |594| 
           MPYLH   .M1     A11,A3,A5         ; |594| 
           MPYLH   .M1     A3,A11,A4         ; |594| 
           MVKL    .S2     _DAT_copy,B5      ; |594| 

           ADD     .D1     A5,A4,A4          ; |594| 
||         ADDAH   .D2     B4,B10,B6         ; |594| 
||         MPYU    .M1     A11,A3,A3         ; |594| 

           MVKH    .S2     _DAT_copy,B5      ; |594| 
||         SHL     .S1     A4,16,A4          ; |594| 
||         LDW     .D2T2   *+SP(40),B4       ; |594| 

           LDW     .D2T1   *+SP(220),A4      ; |594| 
||         ADD     .D1     A3,A4,A3          ; |594| 
||         CALL    .S2     B5                ; |594| 

           ADDKPC  .S2     RL38,B3,3         ; |594| 

           ADD     .D2     B4,B6,B4          ; |594| 
||         ADD     .D1     A4,A3,A4          ; |594| 

RL38:      ; CALL OCCURS                     ; |594| 
           LDW     .D2T2   *+SP(20),B4       ; |594| 
           LDW     .D2T1   *+SP(264),A3      ; |594| 
           STW     .D2T1   A4,*+SP(360)      ; |594| 
           ZERO    .D1     A5                ; |598| 
           STW     .D2T1   A5,*+SP(300)      ; |599| 
           ADD     .D2     B4,B10,B4         ; |597| 
           STW     .D2T2   B4,*+SP(240)      ; |599| 
           XOR     .D1     1,A3,A3           ; |599| 
           STW     .D2T1   A3,*+SP(264)      ; |599| 
           MV      .D1     A12,A0
;** --------------------------------------------------------------------------*
L19:    
   [ A0]   LDW     .D2T1   *+SP(284),A3
           NOP             4
   [ A0]   ADD     .D1     2,A3,A3           ; |605| 
   [ A0]   STW     .D2T1   A3,*+SP(284)      ; |605| 
           LDW     .D2T1   *+SP(284),A4      ; |605| 
           LDW     .D2T1   *+SP(84),A3       ; |605| 
           NOP             4
           CMPLT   .L1     A4,A3,A0          ; |613| 
   [ A0]   B       .S1     L11               ; |613| 
           MV      .D1     A12,A1            ; |605| 
   [!A1]   ZERO    .D2     B4                ; |609| 

   [!A1]   STW     .D2T2   B4,*+SP(236)      ; |609| 
|| [ A1]   MVK     .S2     0x1,B4            ; |607| 

   [ A1]   STW     .D2T2   B4,*+SP(236)      ; |609| 
|| [ A1]   ZERO    .S2     B13               ; |606| 
|| [ A1]   ZERO    .D1     A14               ; |606| 

   [ A0]   LDW     .D2T1   *+SP(340),A3
           ; BRANCH OCCURS                   ; |613| 
;** --------------------------------------------------------------------------*
L20:    
           LDW     .D2T1   *+SP(236),A0
           NOP             3
;** --------------------------------------------------------------------------*
L21:    
           NOP             1
   [!A0]   B       .S1     L22               ; |614| 
   [ A0]   MVKL    .S1     _DAT_wait,A3      ; |616| 
   [ A0]   MVKH    .S1     _DAT_wait,A3      ; |616| 
   [!A0]   MVKL    .S1     _DAT_wait,A3      ; |629| 
   [!A0]   MVKH    .S1     _DAT_wait,A3      ; |629| 
           NOP             1
           ; BRANCH OCCURS                   ; |614| 
;** --------------------------------------------------------------------------*
           CALL    .S2X    A3                ; |616| 
           LDW     .D2T1   *+SP(360),A4      ; |616| 
           ADDKPC  .S2     RL39,B3,3         ; |616| 
RL39:      ; CALL OCCURS                     ; |616| 
           LDW     .D2T1   *+SP(264),A3      ; |616| 
           LDW     .D2T1   *+SP(264),A4      ; |617| 
           NOP             1
           LDW     .D2T2   *+SP(80),B4       ; |617| 
           LDW     .D2T2   *+SP(240),B5      ; |617| 
           MPYLH   .M1     A11,A3,A3         ; |617| 
           MPYLH   .M1     A4,A11,A5         ; |617| 
           MPYU    .M1     A11,A4,A4         ; |617| 

           MVKL    .S1     _DAT_copy,A3      ; |617| 
||         ADD     .D1     A3,A5,A6          ; |617| 

           MPY     .M1     A11,2,A5          ; |617| 
||         MVKH    .S1     _DAT_copy,A3      ; |617| 
||         ADDAH   .D2     B4,B5,B4          ; |617| 

           LDW     .D2T2   *+SP(40),B5       ; |617| 

           LDW     .D2T1   *+SP(220),A5      ; |617| 
||         CALL    .S2X    A3                ; |617| 
||         EXTU    .S1     A5,16,16,A10      ; |617| 

           SHL     .S1     A6,16,A6          ; |617| 
           ADD     .D1     A4,A6,A4          ; |617| 
           MV      .S1     A10,A6            ; |617| 
           ADDKPC  .S2     RL40,B3,0         ; |617| 

           ADDAW   .D1     A5,A4,A4          ; |617| 
||         ADD     .D2     B5,B4,B4          ; |617| 

RL40:      ; CALL OCCURS                     ; |617| 
           LDW     .D2T1   *+SP(264),A4      ; |622| 
           LDW     .D2T2   *+SP(20),B5       ; |622| 
           LDW     .D2T2   *+SP(240),B4      ; |622| 
           MVK     .D1     2,A3              ; |622| 
           LDW     .D2T2   *+SP(80),B6       ; |622| 
           ADDAW   .D1     A3,A4,A3          ; |622| 
           MPYLH   .M1     A11,A3,A4         ; |622| 
           MPYLH   .M1     A3,A11,A5         ; |622| 
           ADD     .D2     B5,B4,B4          ; |620| 

           ADD     .D1     A4,A5,A4          ; |622| 
||         STW     .D2T2   B4,*+SP(240)      ; |622| 
||         MPYU    .M1     A11,A3,A3         ; |622| 

           SHL     .S1     A4,16,A4          ; |622| 
||         MVKL    .S2     _DAT_copy,B5      ; |622| 
||         ADDAH   .D2     B6,B4,B4          ; |622| 

           LDW     .D2T1   *+SP(220),A4      ; |622| 
||         ADD     .D1     A3,A4,A3          ; |622| 
||         MVKH    .S2     _DAT_copy,B5      ; |622| 

           LDW     .D2T2   *+SP(40),B6       ; |622| 
||         CALL    .S2     B5                ; |622| 

           MV      .D1     A10,A6            ; |622| 
           ADDKPC  .S2     RL41,B3,2         ; |622| 

           ADD     .D2     B6,B4,B4          ; |622| 
||         ADD     .S1     A4,A3,A4          ; |622| 

RL41:      ; CALL OCCURS                     ; |622| 
           STW     .D2T1   A4,*+SP(360)      ; |622| 
           MVKL    .S1     _DAT_wait,A3      ; |629| 
           MVKH    .S1     _DAT_wait,A3      ; |629| 
           NOP             1
;** --------------------------------------------------------------------------*
L22:    
           CALL    .S2X    A3                ; |629| 
           LDW     .D2T1   *+SP(232),A4      ; |629| 
           ADDKPC  .S2     RL42,B3,3         ; |629| 
RL42:      ; CALL OCCURS                     ; |629| 
           MVKL    .S1     _DAT_wait,A3      ; |630| 
           MVKH    .S1     _DAT_wait,A3      ; |630| 
           LDW     .D2T1   *+SP(272),A4      ; |630| 
           CALL    .S2X    A3                ; |630| 
           ADDKPC  .S2     RL43,B3,4         ; |630| 
RL43:      ; CALL OCCURS                     ; |630| 
           MVKL    .S1     _DAT_wait,A3      ; |631| 
           MVKH    .S1     _DAT_wait,A3      ; |631| 
           LDW     .D2T1   *+SP(228),A4      ; |631| 
           CALL    .S2X    A3                ; |631| 
           ADDKPC  .S2     RL44,B3,4         ; |631| 
RL44:      ; CALL OCCURS                     ; |631| 
           MVKL    .S2     _DAT_wait,B4      ; |632| 
           MVKH    .S2     _DAT_wait,B4      ; |632| 
           CALL    .S2     B4                ; |632| 
           LDW     .D2T1   *+SP(360),A4      ; |632| 
           ADDKPC  .S2     RL45,B3,3         ; |632| 
RL45:      ; CALL OCCURS                     ; |632| 
           LDW     .D2T2   *+SP(140),B7      ; |636| 
           LDW     .D2T1   *+SP(128),A3      ; |632| 
           LDW     .D2T2   *+SP(176),B5      ; |636| 
           LDW     .D2T2   *+SP(80),B6       ; |636| 
           LDW     .D2T2   *+SP(268),B4      ; |636| 
           LDW     .D2T1   *+SP(128),A5

           LDH     .D1T1   *+A3(24),A4       ; |636| 
||         SUB     .S1X    B7,1,A0           ; |638| 

   [ A0]   BNOP    .S1     L10,1             ; |638| 
||         LDH     .D1T1   *+A3(8),A3        ; |635| 

           SUB     .D2     B7,1,B6           ; |638| 
||         ADD     .S2     1,B5,B4           ; |638| 
||         ADD     .L2     B4,B6,B5          ; |633| 

           STW     .D2T2   B6,*+SP(140)      ; |635| 

           STW     .D2T2   B4,*+SP(176)      ; |635| 
||         MV      .S1     A5,A4             ; |636| 
||         STH     .D1T1   A4,*+A5(16)       ; |636| 

           STW     .D2T2   B5,*+SP(80)       ; |635| 
||         STH     .D1T1   A3,*A4            ; |635| 

           ; BRANCH OCCURS                   ; |638| 
;** --------------------------------------------------------------------------*
L23:    
           LDW     .D2T2   *+SP(388),B3      ; |639| 
           LDW     .D2T2   *+SP(392),B10     ; |639| 
           LDDW    .D1T1   *-FP(40),A11:A10  ; |639| 
           LDW     .D2T2   *+SP(396),B11     ; |639| 
           LDDW    .D1T1   *-FP(32),A13:A12  ; |639| 

           RET     .S2     B3                ; |639| 
||         LDW     .D1T1   *-FP(24),A14      ; |639| 
||         LDW     .D2T2   *+SP(404),B13     ; |639| 

           MV      .S2X    FP,SP             ; |639| 
||         LDW     .D1T1   *FP,FP            ; |639| 
||         LDW     .D2T2   *+SP(400),B12     ; |639| 

           NOP             4
           ; BRANCH OCCURS                   ; |639| 


;******************************************************************************
;* UNDEFINED EXTERNAL REFERENCES                                              *
;******************************************************************************
	.global	_DAT_copy
	.global	_DAT_wait
	.global	_ycbcr422pl16_to_rgb565_asm
	.global	_scale_horz_asm
	.global	_scale_vert_asm
	.global	_pix_expand_asm
	.global	__divi
	.global	__remi
